Add libhardware and libhardware_legacy for android-2.3.5_r1.