(HEVC/Research) SelectCU optimization: removing useless copies and using FIFOs directly in procedures