Mitigation of Hot Electrons from Laser-Plasma Instabilities in Laser-Generated X-ray Sources