deinterleave test: rotate helper

until simdarray supports rotate, implement a simple helper for it here

Signed-off-by: Matthias Kretz <kretz@kde.org>