[tests] gc-descriptors: Only copy file in case of VPATH build

Instead of ignoring the cp error when copying over the same file in non-VPATH builds.
Merge pull request #1143 from akoeplinger/fix-gc-descriptor-error

[tests] gc-descriptors: Only copy file in case of VPATH build