Fix stack corruption in db2 statement
SQLSetStmtAttr for SQL_ATTR_PARAMS_PROCESSED_PTR takes 32-bit or 64-bit integer, but 16-bit was given.