C2AllocatorIon:protect mMappings using mutex am: 416da6e8da am: 670024887e

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

Change-Id: I45139e30ce15ac39e443ded92915b165f94b1c9d