Fix jni_md.h not found on linux_mips64 and linux_riscv64

Copybara Import from https://github.com/bazelbuild/rules_java/pull/198

BEGIN_PUBLIC
Fix jni_md.h not found on linux_mips64 and linux_riscv64 (#198)

Re-fixes regression: https://github.com/bazelbuild/bazel/issues/14808

Closes #198
END_PUBLIC

COPYBARA_INTEGRATE_REVIEW=https://github.com/bazelbuild/rules_java/pull/198 from lazyprogrammerio:bazel-riscv64-refix 52a71a5e6cb6c028ed047de91a2174c0f38093dd
PiperOrigin-RevId: 653123595
Change-Id: Ib735a0de9b66e9570921a85be5fdd21aff8177d8
1 file changed