[PATCH v3 4/7] msvcr100: Factor out EXCEPTION_RECORD to exception_ptr conversion.