Make sure values are integers for certain hardware items for vpshere_guest

Fixes #7180