Increase the upper limit of slang target API to 31. am: 5ad64063ee am: 3b056f02fc

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/compile/slang/+/14470202

Change-Id: I74bc43adb1f19ea6f3431b0926a52744f739f9e3