On the determination of thermospheric atomic-oxygen densities with rocket-borne mass spectrometers