libhardware_legacy: revert to AOSP version

Change-Id: I9650faababdd27a588ab2764e81d22b72a34824b
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>