CSHARP-1074: Deprecate GetLastError and GetLastErrorResult.