Allow pinning of package versions for openjdk

Compliment to https://github.com/agileorbit-cookbooks/java/pull/186

This PR allows for pinning of openjdk versions