Handle no definition of cpu sockets, cores or threads

Some platforms like VMWare may not define sockets/core/thread topology.
This patch handles that, but it is not bound to just VMWare.

Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>