Checking return of VBoxManage modifyvm

Checking return of `VBoxManage modifyvm`

Some options may be unavailable in prior version of `VirtualBox` causing `modifyvm` to fail

Without this patch, the script continue with an unconfigured virtual machine without enough ram to boot the kernel