Unique continuation for the magnetic Schrödinger operator with singular potentials