Cast CryptGenRandom pointer to (BYTE *) to make MSVC happy when compiling as a C++ project