Qt3D: Use static_cast for QTextureLoader private access
The downcast target is statically known: QTextureLoader
always holds a QTextureLoaderPrivate, which derives from
QAbstractTexturePrivate. static_cast expresses that fact
directly and needs no RTTI, matching the pattern used
elsewhere in the module.
dynamic_cast added a runtime type_info check that returned
null in the Android build and crashed when dataFunctor()
was called on the null pointer.
Pick-to: 6.12
Task-number: QTBUG-146930
Change-Id: I7280b5ca0d16cef6bcafddb6fa280f0e6fc2f62b
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>