Merge "audiohal: Fix incompatibility with legacy hal for writes"