Fix a possible buffer overrun which may have caused a crash in MS Word (picked up by MSVC RTC). Re #3785
VT_BOOL uses 16 bit values, so either VARIANT_BOOL or BOOL should be used. bool (c++) is only 8 bit which is not enough. The rest of calls with VT_BOOL were using BOOL 32 bit.