mm/hugetlb: fix incorrect update of max_huge_pages