[ANativeWindow] add ANativeWindow_getNextFrameId api.

Stable API for getNextFrameNumber. Here the naming is mirroring the
existing EGL api for eglGetNextFrameIdANDROID.

Bug: 137012798
Test: builds
Change-Id: I8bf6fb198055a295b8aa68d3b9db2577376d39b1
3 files changed