vc4: Add a "qir_for_each_inst_inorder" macro and use it in many places.