mm/hugetlb: fix deadlock in hugetlb_cow error path