disable linkage to nativewindow when API_LEVEL<26
I would like to work on this issue 
  @shelper Would you like to create a PR?

Thanks. i am not a bazel guy, played with it a little bit, but i didnt figure out how to access this api_level variable in this bazel file. 
I do have api_level defined in my root WORKSPACE file as below, but just dont know how can i get it 
```
android_ndk_repository(
    name="androidndk",
    path="/path/to/android-ndk-r21",
    api_level=21,
)

```
 This implementation is due to the implementation of async API for GPU delegate, implementation depends on `AHardwareBuffer` which is available from API 26.
The intended behavior is to always return the `lnativewindow` for API 26 or higher.
@terryheo , Could you please look into the issue to include a condition for pre API 26. I also couldn't find a way to get API level in Bazel BUILD rules.

That's why TF's Android builds requires API level 26 or higher.
https://github.com/tensorflow/tensorflow/blob/master/configure.py#L760

If you want to use lower level, you need to modify the file manually. This issue has been marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you. This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/59861">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/59861">No</a>

<details><summary>Click to expand!</summary> 
 
 ### Issue Type

Build/Install

### Have you reproduced the bug with TF nightly?

Yes

### Source

source

### Tensorflow Version

latest/nightly

### Custom Code

No

### OS Platform and Distribution

Android

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

5.3.0

### GCC/Compiler version

clang 9

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current Behaviour?

```shell
in file `tensorflow/lite/delegates/gpu/build_defs.bzl` line 12 it returns a link option of "-lnativewindow" by `return ["-lnativewindow"]`, but this option is only available for ndk api_level >=26. 
would be nice if a condition can be set here with something like:

if api_level >=26:
    return ["-lnativewindow"]
else:
    return []
```
```


### Standalone code to reproduce the issue

```shell
set api_level=21, and build tflite_gpu_delegation it will fail with `cannot find -lnativewindow`
```


### Relevant log output

_No response_</details>