The Effects of Magnetic Field Morphology on the Determination of Oxygen and Iron Abundances in the Solar Photosphere