physmem: fix physmem allocation on kernels without NUMA support