Magnetometry via a double-pass continuous quantum measurement of atomic spin