swr: fix compilation failure with old versions of gcc.
gcc 4.4 did not like the way i used typedefs
Idea-by: beastd Signed-off-by: Michael Niedermayer <michaelni@gmx.at>