libclamav: move vars in hm_flush()