eal/linux: fix out of bound access in hugepage init