Tests/BuildDepends: Make 3-second delay more robust

Use "cmake -E sleep 3" instead of execute_process with a TIMEOUT of 3.
This avoids using a busy loop or depending on a timeout to kill it.
Merge topic 'test-BuildDepends-sleep' into next

e4114ee9 Tests/BuildDepends: Make 3-second delay more robust