ethdev: fix check of threshold for Tx freeing