vm_xml: convert 'current' vcpu value to int

The definition type of 'current' vcpu is string, so need convert it
before compare it with an int value.

Signed-off-by: Yanbing Du <ydu@redhat.com>
Merge pull request #1783 from will-Do/vcpu

vm_xml: convert 'current' vcpu value to int