arc: Implement smaller dumpstate output am: d451a47124 am: 4bdd61fdf3

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/11829060

Change-Id: I512f33167cf94d9f8420968a9117aef3250fa0a1