TGA: return unsupported features error if not supported
(cherry picked from commit ba46c1b8c366cef15767f5c711d81cf830156edb)