Remove unused local variables in load_tga_pf()
Fix compilation errors with G++