[BlackBerry] Fix access to ResourceHandle::context