Improving Support-Minors rank attacks: applications to GeMSS and Rainbow