fix bug #23027 (wesnoth dofile)

The bug is fixed by making lua_fileops::load_file consume its
stack argument. That function is also changed so that it takes
its argument from the top of the stack instead of the bottom, which
is a bit more normal.