XWIKI-10349: Memory leak in Velocity namespace cache
* make it optionnal after all

(cherry picked from commit 63ea19f5c7ca05ec8f3f6818766c90f27364e8a3)