Add methods in NIOAccess to Core Platform API

These are used in frameworks, particularly in generated OpenGL JNI
code.

(cherry picked from commit 6cb0ae710a03f94b023ce4054c63d6eb612c7e33)

Bug: 144502743
Test: boot device, grep for "Core platform.*NIOAccess"
Change-Id: I854de6be3b1d9841d961bc116e459f2c9e9154b8
2 files changed