Merge "BluetoothMidi: Remove unsafe code" into tm-dev