Eliminate settings closure in WikibaseLib.default.php

this has been causing trouble in production, when deploying
code, probably due to some APC bug.

the closure is nice but not worth the trouble here.

Bug: 71565
Change-Id: Ibdca008de9d31c969e548068d1b01bf01732cb85
Merge "Eliminate settings closure in WikibaseLib.default.php"