Fix MSVC compiler warning about passing this pointer in initializer list

Fixes https://github.com/minetest/minetest/issues/1348