Merge "Fix frameworks/native compiling against musl" am: 79abc0518e

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

Change-Id: I3f2c642965c099ab71d8d2e253ee9532a3371b69