Fix out-of-bounds array access in Deinterleaver.cpp
Flatten and comment some nested logic.

No functionality change.
Merge branch 'master' of github.com:halide/Halide