tsan: fix suppress_java logic