Fix Java build requirement
Since the system openJDK version 17 has been added, few Objective C
tests are broken.
Fix the requirement so that both Java and Objective C test still work.
Resolves: rhbz#2051135
Version: 1.16.5-4
Suggested-by: Jiri Vanek <jvanek@redhat.com>
Reviewed-by: Florian Weimer <fweimer@redhat.com>