patches: add patch for libhardware_legacy compile issue