use getRGBLine images if available

Speeds up greatly files from bug #66928

E.g. some file went from 21s to 2s in my computer
Merge remote-tracking branch 'origin/poppler-0.24'
Don't copy not needed bitmap

Speeds up rendering of fixes from bug 67105
As example one file is down from 130s to 6.5s
Merge remote-tracking branch 'origin/poppler-0.24'