Reordered functions in surface.cpp to match their declaration in io2d.h.