Fix a buffer overflow in tds_put_n

With the introduction of TDS_ADDITIONAL_SPACE usage (packet can contains
extra data at the end) out_buf_max can be a little smaller than out_pos
causing the subtraction to overflow and left to be very big.
Then the test for left <= 0 became false but the left is then used as
buffer length causing possible overflows.

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

row_size was only used for memcpy, use TDS_PUT_UA2 macro instead to
avoid temporary variable.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Fix t0013 and t0014 dblit tests

These tests cannot succeed using protocols 7.2+ so return success if we
found these protocols.

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