Split up tga load function to utils/rtga.cpp