Move SurfaceTexture implementation to libnativedisplay

Move SurfaceTexture C++ implementation from libgui to
libnativedisplay. Move ASurfaceTexture JNI implementation from
libandroid to libnativedisplay.
Move surface_texture_platform.h implementation in the same file
as ASurfaceTexture NDK implementation. Delete
ASurfaceTexture_create, which is no longer used by TextureLayer.
Move ASurfaceTexture definition from surface_texture_platform.h
to private implementation.

Test: pass CtsUiRenderingTestCases and CtsViewTestCases
Bug: 147060713
Change-Id: I9619124b8ab682c75efb5db17685b074ad422722
11 files changed