wallpapers/image: reduce preview cache insertion for single images
This reduces one cache insertion operation for single images without dark variants by inserting a new QPixmap only when the pending list is empty (it->empty()), which should slightly reduce the time to generate previews.