swresample: fix negative rematrix volumns