swr: check that allocation of in/out_convert succeeded

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>