java: Relax version check

Relax version check to support running classfiles built with Java 1.7
when Hornet is built against Java 1.8.

Signed-off-by: Pekka Enberg <penberg@kernel.org>