QGrpcInterceptionContext: add nodiscard and {l,r}value ref-qualifiers


The Qt 6.11 API review identified further issues that we address with
this commit:

1. Added missing [[nodiscard]] specifier to reduce API misuse.
2. Added missing {l,r}value ref-qualifiers for API correctness.

Pick-to: 6.11
Change-Id: I23f69de4cf08d781394e5702ab0ad411aa6b5859
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit1a36411df31904031d3a755ffeb4ea5b54562879
parentfe7b670ccc7236a7deda6b92cdc8d8fe477cd3e6
authorDennis Oberst <dennis.oberst@qt.io>
committerDennis Oberst <dennis.oberst@qt.io>
commit timeThu, 12 Feb 2026 17:13:22 +0100