Fix problem with SQL_VARIANT if client is using protocol version 7.0

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>