[tomcat] try to extract version from $CATALINA_HOME as a last resort

this is used if everything else fails