Pass the QQuickWindow to the cache for texture creation

Change-Id: I97f66d5fbf1aa809afd6e5e3f1ed18044c01a3cc
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>