[PATCH] x86_64: Fix overflow in NUMA hash function setup