Magnetic Fields in Star-forming Molecular Clouds. II. The Depolarization Effect in the OMC-3 Filament of Orion A