[COOK-2154] Add SmartOS support to openjdk recipe

SmartOS uses different package names for the JDK and JRE. Also, the pkgsrc asks for acceptance of a license agreement. This can be pre-accepted by dropping a dot file into /opt/local.