Add sun.misc as an optional OSGi import.

(It's not really optional.)

Closes #397.