Fixes wrong arg #1 for resume().

I find in my code

~~~~Lua
local State = {}
function State:resume()
    assert(self == State) -- Failed here when calling Gamestate.pop()
end
~~~~

And this is a bug in Gamestate.pop(), and I fixed it, hope that will be useful.