[Java] Drop legacy glibc support in release builds