[autotests] Fix debug console test
Use QTRY_COMPARE macro to not fail if signal already sent. Also shorten
timeout on expect to fail test for faster test runs.
Test Plan: Debug console test passes again.
Reviewers: KWin, zzag
Reviewed By: KWin, zzag
Differential Revision: https://phabricator.kde.org/D22124