openfimg: compiler: Implement source clean-up pass

This pass cleans up the code after dead code elimination, so that
components of source operands that are not used any longer are masked
out.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>