Update D8 and R8 to 3.0.31-dev am: 39fd608745 am: 45cadea1b3 am: 1093dc0088

Original change: https://android-review.googlesource.com/c/platform/prebuilts/r8/+/1655212

Change-Id: I3ec81b9fb78fa599ebe0c8daa2769fe1137dfe6a