lottietoqml: add support for raster images (image layers)
The QML generator already supports raster images in vector
graphics. This adds the necessary plumbing to pass images from Lottie
assets - either external file references or as embedded data to the
generator.
It also cleans up the QLottieImage class, which holds such assets, by
removing non-existent and unneeded properties and replacing them with
existing, useful ones.
Fixes: QTBUG-139313
Pick-to: 6.10
Change-Id: I0ba04947662da1111a3b2c130b2e09fd2b5b563a
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>