[PATCH 5.4.y] x86/mm/pat: fix VM_PAT handling in COW mappings