Convert gcc version detection (for solaris-usparc-gcc) into a form