openjdk: fix cyclic deps