libbinder_ndk: fix failure when dump/shell are unset am: deb5346761

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

Change-Id: I2c93869d80cf35d7320be168de071d7aab87a29f