[tomcat] fix detection if catalina.sh doesn't support version option