Add an input check for datastore option PORTS

If Rex::Socket.portspec_crack returns an empty array, we assume there are no valid ports to test, so we raise an OptionValidateError to warn the user about it.