Fixed segfault in codec_settings_to_native

Looks like now audio call test works.