Polarized neutron measurements of the internal magnetization of a ferrimagnet across its compensation temperature