Here's what I did,
Look where the kickstand would normally hit the bike when in the up position, at that point you can drill and tap a hole in either the kickstand ( I did kickstand ) or the bike and place a very small bolt there, You can adjust the bolt in or out to how far you need it to hold the kickstand off the pipes.
Funny thing is, When I got my kickstand for a lowered bike, It already had that bolt in there.
This will only work for a small adjustment, otherwise the kill switch on the kickstand will be tripped.