monitor: fix build breakage for !CONFIG_VNC