Alfvén waves in coronal holes: formation of discontinuities in inhomogeneous magnetic fields