Bimeromorphic smoothing of a complex-analytic space