Capture GLE response when legacy writes throw MongoCursorException

This is necessary to ensure write concern errors are collected and merged. This does not concern itself with connection errors (e.g. if the GLE command throws its own exception).