fix a bug where tailing pages wont be deallocated if more space is needed
When a bigger page is needed, this makes sure to free all pages after the current one, instead of just one. There is a little performance hit. I can look into performance of keeping the stack and the as a whole when I'm done with ccgo things.