x86-64, NUMA: Factor out memblk handling into numa_{add|register}_memblk()