indeo: Refactor ff_ivi_init_tiles and ivi_decode_blocks