Quantum Borcherds-Bozec algebras via semi-derived Ringel-Hall algebras