Properly free pixman regions

It seems that emscripten has been fixed to support this now.