(#2) Return an error for type processor in AddResource and RemoveResource.
(#2) Return an error for type processor in AddResource and RemoveResource.

A user should use ModifyResource to change the number of processors.

Also fix a warning caused by this change.

Update:
 -Fix copy and paste error.

Signed-off-by: Kaitlin Rupert <5d963ff58691ce861c80ea2b0deed9b0b88171bc@us.ibm.com>

libvirt/libvirt-cim,libvirt/libvirt-cim,libvirt/libvirt-cim