Magnetic domain wall curvature induced by wire edge pinning