xapi: backport another patch which makes us robust to /proc/cpuinfo

Signed-off-by: David Scott <dave.scott@citrix.com>