ShaderFunctor: only add to destruction list if backend node exits


This avoids the backend crashing at a later step when it tries to retrieve
and destroy a Shader backend node that actually doesn't not exist.

This case happens if we receive a node destroy change for a node that
wasn't previously created.

Change-Id: Ifdd6a84f0d16bc9b9a0cf7c6403f7f45111df0c6
Reviewed-by: Mike Krus <mike.krus@kdab.com>
commit52f094b767e8f57997a3ee360a5dca5e36efa761
parentc4194c5a37b2879fd5802f00d45c46f31278b0b3
authorPaul Lemire <paul.lemire@kdab.com>
committerPaul Lemire <paul.lemire@kdab.com>
commit timeThu, 25 Feb 2021 07:23:28 +0100