install_base.sh: Improve JAVA_HOME detection
install_base.sh: Improve JAVA_HOME detection

Make sure to pick paths matching */bin/java to avoid picking up other
paths containing the java version and ending with "java".

For example, the runners on GitHub actions seems to have this
path, which randomly gets selected:

/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64/sample/nio/file/java

ARM-software/lisa,credp/lisa,credp/lisa,ARM-software/lisa,ARM-software/lisa,credp/lisa,ARM-software/lisa,credp/lisa