octave: patch for java build error & fix formula
octave: patch for java build error & fix formula

 - Patch submitted upstream at https://savannah.gnu.org/patch/index.php?9806
 - Don't try to substitute openblas in fomula after build, there's no need
 - Fixes #39848

Closes #39809.

Signed-off-by: Izaak Beekman <63a262980226ea55b5aaaf5a7502ec30d6edcc7a@gmail.com>

lembacon/homebrew-core,stgraber/homebrew-core,cblecker/homebrew-core,mbcoguno/homebrew-core,lemzwerg/homebrew-core,mbcoguno/homebrew-core,BrewTestBot/homebrew-core,nbari/homebrew-core,mvitz/homebrew-core,Moisan/homebrew-core,jabenninghoff/homebrew-core,wolffaxn/homebrew-core,jvillard/homebrew-core,Linuxbrew/homebrew-core,Linuxbrew/homebrew-core,wolffaxn/homebrew-core,uyjulian/homebrew-core,spaam/homebrew-core,mbcoguno/homebrew-core,lembacon/homebrew-core,spaam/homebrew-core,filcab/homebrew-core,zyedidia/homebrew-core,mahori/homebrew-core,jvillard/homebrew-core,zyedidia/homebrew-core,chrisfinazzo/homebrew-core,jvillard/homebrew-core,LinuxbrewTestBot/homebrew-core,nbari/homebrew-core,stgraber/homebrew-core,lembacon/homebrew-core,JCount/homebrew-core,mfikes/homebrew-core,aabdnn/homebrew-core,dsXLII/homebrew-core,maxim-belkin/homebrew-core,maxim-belkin/homebrew-core,mahori/homebrew-core,Moisan/homebrew-core,JCount/homebrew-core,dsXLII/homebrew-core,Homebrew/homebrew-core,lemzwerg/homebrew-core,chrisfinazzo/homebrew-core,mfikes/homebrew-core,LinuxbrewTestBot/homebrew-core,rwhogg/homebrew-core,filcab/homebrew-core,cblecker/homebrew-core,uyjulian/homebrew-core,jabenninghoff/homebrew-core,wolffaxn/homebrew-core,edporras/homebrew-core,adam-moss/homebrew-core,BrewTestBot/homebrew-core,aabdnn/homebrew-core,makigumo/homebrew-core,zmwangx/homebrew-core,makigumo/homebrew-core,zmwangx/homebrew-core,edporras/homebrew-core,mvitz/homebrew-core,rwhogg/homebrew-core,sjackman/homebrew-core,nandub/homebrew-core,mvitz/homebrew-core,sjackman/homebrew-core,nandub/homebrew-core,adam-moss/homebrew-core,Homebrew/homebrew-core