The thread is M10 - 1,5 pitch.
Attention, standard pitch for M10 would be 1,25 but on 1250GS it's 1,5.
I installed mirrors extenders and had to order those bolts. I was lucky as I use aftermarket mirrors that bolted into extenders with standard M10 1,25 pitch but to bolt extenders into handlebars I needed bolts M10 1,5 pitch