Detect whether GCC supports java.  Don't dump .s files from the test in the
working directory, send them to /dev/null.