sws/packed_16bpc_bswap: fix handling of negative stride