[TableGen] Replace some dyn_casts followed by an assert with just a regular cast...