notify Characteristic Changed Compat
fun BluetoothGattServer.notifyCharacteristicChangedCompat(device: BluetoothDevice, characteristic: BluetoothGattCharacteristic, confirm: Boolean, value: ByteArray): Int
Wraps BluetoothGattServer.notifyCharacteristicChanged in an SDK version agnostic API.
On SDK versions prior to Build.VERSION_CODES.TIRAMISU, we are forced to use the old version of this API which had memory safety issues.