Nonlinear beamforming for enhancing prestack seismic data with a challenging near surface or overburden