Prepare changelog for 3.1.7 dev.

[ci skip]