mm/hugetlb: Allow arch to override and call the weak function