Optimization of Beamline Elements and Shielding in a Preclinical MV Bremsstrahlung FLASH Irradiator