allow options such as -Xloggc:file/path and -Xdock:name="thing" to be used

Previous implementation stripped the -Xloggc:value down to -Xloggc which
is an invalid option.