Update to work with vte 2.91 as well as 2.90

This is https://github.com/FreeRDP/Remmina/pull/371 cherry-picked, seems to build fine, but I didn't test runtime, sorry.