Add GTE compatibility enum to ANativeWindow.

This moves and renames the enum into ANativeWindow where it is
accessible in the public NDK.

Test: atest SetFrameRateTest
Test: atest libsurfaceflinger_unittest
Test: atest LayerHistoryIntegrationTest
Bug: 380949716
Flag: EXEMPT ndk
Change-Id: I5216c3ceb223f7b9a0571be14544e83d7f8859ea
6 files changed