gdm: Only emit verification failed for foreground service
A failing background service should not count as a verification failure as the user can still try to continue using the current foreground service.
As such, only emit the 'verification-failed' signal when the failing service was the foreground service.
Closes: #3853 (closed)