Bump version to 4.0.10 and update NEWS.