Spin-noise-based magnetometry of an $n$-doped GaAs microcavity in the field of elliptically polarized light