fix crasher in rtmidi_get_compiled_api() caused by unexpected pointer value.