switch to our libhardware_legacy

Change-Id: I8231c2c3bcb8f1e48d0e305216a92695e3c42ae8