arc: Implement smaller dumpstate output am: d451a47124

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

Change-Id: Ia85fcee5304355191c8230bb16c87b76dcf78eab