Constraints on the magnetized Ernst black hole spacetime through quasiperiodic oscillations