Effects of non-uniform interstellar magnetic field on synchrotron X-ray and inverse-Compton γ-ray morphology of supernova remnants