Smoothing of quiver varieties