A way can be found to avoid animal and food checks on the border - even in the case of a no-deal Brexit, the Republic's EU Commissioner Phil Hogan has said.