surface: Update the native alloc flag to read-only version

Bug: 306193257
Bug: 321628587
Test: atest
Change-Id: I68308f387dccc94afb25ce31dd5db6ffeef38715
1 file changed