Annotate @RequiresApi for S to class level

All the methods, except newInstance() in the api31 shim require
API 31. Annotate them for linter to clear judge it.

Bug: 186063555
Test: make NetworkStackApiCurrentShims
Change-Id: I7b537141405b48b04262a4a0bdf887bd58107761
4 files changed