Motivation:
When setting the default actor isolation to 'MainActor', generated
protobuf code will fail to compile.
Modifications:
- Add 'nonisolated' to generated declaration
- Add a compile test
Result:
- Resolves https://github.com/apple/swift-protobuf/issues/1797