Fixed bug in iOS plugin

Fixed bug in iOS plugin that caused an assert to trigger when a characteristic has both write type flags CBCharacteristicWriteWithResponse and CBCharacteristicWriteWithoutResponse set.