I don't think smacking the rivets to tighten them up is the answer. So the wheel was wobbling due to loose spokes? How are the brake pads?
If it's that bad, I would consider removing/drilling out the rivets and replacing with bolts/nuts/washers to get me home.
KTMs--300, 518, 990