arm64: hugetlb: avoid potential NULL dereference