fix: win32 cpp-tests sometimes cannot display font correctly

Pass FILE_SHARE_READ to the 3rd parameter of CreateFileW. Otherwise, it
may fail to get date from the font file.