libhardware_legacy: xiaomi support

Change-Id: Ibbb63f68444eed46c7de145c11c2ea4c97fc3952