fall back to /proc/cpuinfo if dmidecode is not available

On some Xen systems, dmidecode will not return anything useful for socket
count. In these cases, fall back to /proc/cpuinfo.