Log a warning if the simulated SDK is higher than original

If the user picks a simulated SDK that is higher than the version from
which layoutlib is built, this can lead to crashes. This adds a warning
to inform the developer.

Bug: 300719286
Test: test added
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5d302a621d63dec38842d20719dacaef39cec61b)
Merged-In: I9e2eb24fc51177d8bd3094572e9e89e530fe0ed6
Change-Id: I9e2eb24fc51177d8bd3094572e9e89e530fe0ed6
3 files changed