ctest: Allow --test-dir override when using presets

Fixes: #23982
3 files changed