tst_grpc_client_end2end: deflake channelChangeCancelsInFlightRPCs
Fixed delays (150 ms singleShot, 25 ms qWait) made the cancel race
unreliable on loaded CI: the channel could swap before the server
accepted the RPC, downgrading the "Active" row to a pre-accept cancel.
attachChannel() can also emit finished() synchronously, which
finishedSpy.wait() misses.
Sync on a server-side requestReceived flag and poll the spy count
instead, and carry channelOptions() over to the new channel so SSL and
other transport options survive the swap.
Fix the data race for the previously non-atomic `notifyWhenDone`, which
gets written from the grpc completion-queue thread and read from the
main test thread via QTRY_COMPARE_EQ_WITH_TIMEOUT.
Pick-to: 6.11 6.8
Change-Id: I604c669e15fb1a436cb28bf653c955a4ffddbcae
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>