Cleanup parts of fpdf_render_loadimage.cpp.