fix: win32 cpp-tests sometimes cannot display font correctly

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