MORTEVIELLE: Use heap allocation in GfxSurface::decode, remove one use of swap