Merge "hal: Fix LLVM static analysis errors in speaker protection"