Detecting nonlinearity in time series driven by non-Gaussian noise: the case of river flows