[generic-pc] fix src/gui/luainstance.cpp