Use a privileged action to obtain the Unsafe.

This makes it possible for the code that depends on UnsafeUtils to work in sandboxed runtimes that has been configured to trust UnsafeUtil.
Merge pull request #3562 from chrisvest/2.2-unsafe-access

Use a privileged action to obtain the Unsafe.