Update pre-commit formatter to use java from repo rather than path. (flutter/engine#54450) This removes the recently added requirement of contributors having `java` on their path. Also removed the mention of java being needed in setup (I don't have java installed and have built the engine from mac for years). Fixes https://github.com/flutter/flutter/issues/152968 Fixes https://github.com/flutter/flutter/issues/129221