SurfaceUtils: ensure lock() grants a valid pointer

Sometimes lock() of GraphicBuffer does not grants a valid mapping
pointer though the return value is NO_ERROR. Regards this case as an
error.

Bug: 303816969
Change-Id: I95d2a583dd8fdd117534f349d9f9e71323792bd7
1 file changed