chan_iax2: Restore codec choice behavior from media formats branch