[PATCH 6.1.y] mm/hugetlb: fix potential race in __update_and_free_hugetlb_folio()