nir: make opt_if_loop_terminator() less strict
nir_cf_{extract,reinsert}() can't stitch a block together if the block we are extracting ends in a jump but other jumps nested in further ifs should be fine to move. Reviewed-by:Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <mesa/mesa!4477>