bfCheckJavaMemory: fix typo in function definition