[Diagnostics] Add a fix-it for misplaced throws in function types (#25306)
Adds a diagnostic error for misplaced throws in function types. For e.g:
```swift
let fn: () -> throws Void  // expected-error{{'throws' may only occur before '->'}} {{12-12=throws }} {{15-22=}}
```
Resolves SR-10703.