crypt32: Consistently use CryptMemAlloc/Free().