MediaResourceMonitor: move code from libbinder

libbinder has some code in it that only this library uses. We shouldn't
pay the cost for this code in all users of libbinder.

Bug: 183654927
Test: boot
Change-Id: I3bff3e0a1175ca5ceb32794727c18cb82252c396
4 files changed