[1.6.x] Fixed #22516 -- Added versionchanged annotation for STATIC_ROOT default value.

Backport of 658710be00 from stable/1.7.x