[PATCH v2] msvcrt: Fix buffer size checks in swscanf_s