The Effects of Low- and High-Energy Cutoffs on Solar Flare Microwave and Hard X-Ray Spectra