As a heads up, at least on my 2018 XC300 machine, the KTM bushing and bolt mentioned earlier are not a simple drop in fix.
Yes, the bushing will drop straight into the GG kick stand and bolt into the frame but it needs a 1mm shim between the top of the bushing and the kick stand body to fit correctly.
Without being shimmed properly and with the bolt bottomed out there is excessive play in the kickstand and it will likely fail quickly at some point in the top.
Hopefully this helps someone in the future. If I'd had known about it I'd have just chopped the OE bushing rim and bought a button head machine screw and saved myself all the fabrication time and $19us to make the KTM parts work.