Assessing the Robustness of Frequency-Domain Ultrasound Beamforming Using Deep Neural Networks