Effects of disorder on conductance oscillations in semiconductor-superconductor junctions in a magnetic field