TGA: added options support (kf5)
Code aligned with KF6 (MR !210 (merged)) to mitigate CCBUG: 413801 and CCBUG: 479612
- Added Size and Format options support
- Fixed a double image allocation when reading RGBA images (RGB was always allocated and then replaced by RGBA one)
- Fixed the code for sequential devices