cpus: break out cpu related functions from xutils

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
xutils: remove unused declaration

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>