libhardware: sync with CAF

Change-Id: I8ae41fb7963a62d0033490d8987c388c4ceebcd0