Fixed the command line error so that -p4 argument is working again

currently "virtualmonitor.exe -p4 5901" option is not working. The reason is because of incorrect condition check vncServer->autoPort is reinitialized to 1 again. It should only be so when both ipv4Port and ipv6Port are zero