arc: Implement smaller dumpstate output am: d451a47124

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

Change-Id: Ic3da15f36d681bc576c842cdf2de5e68acbd7bdb