qjsonrpc: remove dead duplicate-id scan from batch completion
RequestBatchHandler's completion lambda appended the finished
response to m_finished and then scanned the entire list looking for
an entry matching the id it had just completed, falling back to an
"internal error" response if no match was found.
That entry is always the one appended one line earlier in the same
lambda invocation, so the scan could never fail to find it which makes
the "not found" branch was unreachable.
Remove the scan and its dead branch; this has no effect on behavior.
Pick-to: 6.12
Fixes: QTBUG-148493
Change-Id: If87018b022154201c706c71fa4e75ceb80c720e0
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>