[Diagnostics] Diagnose a mismatch between result builder result and return type
Add a tailored diagnostic for cases where result builder
result type disagrees with expected contextual return type.
Resolves: https://github.com/apple/swift/issues/59390
(cherry picked from commit 63fcd670fb820cfc0a87b028cf1b410d68b905da)