Simple version: Galling generally occurs when pressures get to about 10,000 psi at stainless to stainless joints. So in low stress applications, use of stainless is not a problem. However, in high load applications such screws stressed near yield, barrel joints etc you can get galling.
Theoretically, you shouldn't get galling on bolt lugs since it shouldn't move under load. but it does move at the microstructure level and I'm sure experience has shown that it is not a good idea to use stainless lugs.
A more real-life source of galling is the barrel threads. Use a very good high temperature nickel based anti seize and as pointed out above, watch those scope base screws carefully. Once you get a burr, that burr has to deform to move through the threads. Now you have initiated galling and it spreads rather than arrests.
If you ding a barrel thread (or any thread) in stainless, clean it up with a die nut or thread file before reassembly. The best way to deal with galling is to prevent it.
--Jerry