For android12+ kernels, only check against matching KMI.

For example, if a device has android12-5.10 kernel,
it should only check against requirements for
android12-5.10, not android13-5.10.

This behavior is only enforced on KMI >= android12.
That is, this only affects:

- android12-5.10
  (no longer check against requirement for android13-5.10)
- android13-5.15
  (no longer check against requirement for android14-5.15)

This change does not affect compatibility check for
these kernels:

- 4.19-stable with kernel FCM version == S in device manifest
  (because 4.19 doesn't have android13+)
- android13-5.10 (because 5.10 doesn't have android14+)
- android14-5.15 (it is the latest)
- android14-6.1  (it is the latest)

Bug: 271162177
Bug: 270899594
Test: TH

Change-Id: I4b91c3ed80cbb0dd1e7425ad641f1da5d4b8ec35
(cherry picked from commit 29e09af3dc0cf8904d4b1c3dcfbff54214b46fc1)
2 files changed