libvirt-machine-props: Micro refactor
libvirt-machine-props: Micro refactor

Instead of checking for machine being ON each time before calling
notify_reboot_required(), better do this check in the function itself.

https://bugzilla.gnome.org/show_bug.cgi?id=696242

vbenes/gnome-boxes,vbenes/gnome-boxes