engine: rest api fix for cpu pinning

Fixes the NPE received from REST api when the vcpu is pinned to a cpu
over 9

Change-Id: I3702f2436459704247233ab3fca1a1c3ed8e3d06
Signed-off-by: Laszlo Hornyak <lhornyak@redhat.com>