QQuick3DNode: ensure we register changes to global transform

Anyone can call calculateGlobalVariables() at any time. So by the
time the global transform pass calls out to the node, the
calulation might already have been done. So for those cases, ensure
that we always store if the global transform has changed whenever
we calculate global variables.
2 jobs for master in 4 minutes and 43 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #40030
linux
build_with_linux

00:02:09

passed #40031
windows
build_with_windows

00:04:43