Disable shaders when Direct3D is used

This check is [already done in the settings tab](https://github.com/minetest/minetest/blob/master/builtin/mainmenu/tab_settings.lua#L221), however it is not done on the game's start up.