msvcrt: Add bsearch_s implementation by reusing code and tests from ntdll.