nir: merge and extend nir_opt_move_comparisons and nir_opt_move_load_ubo