Merge "Add getPointer for USAGE_SHARED allocations."