Use the standard library's copy of mock when it's available.

Change-Id: Id6a31157582efe47cc3a74e6658679c2bec14767
Merge "Use the standard library's copy of mock when it's available."