trinity: fix build with kernel headers v4.17+
Kernel v4.17 removed the linux/irda.h header. Add a patch to skip the
irda test when the header is missing.
Fixes:
http://autobuild.buildroot.net/results/39d/
39d131048d6eb3cd4d802dae462116f7728c41fd/
http://autobuild.buildroot.net/results/af2/
af2288711d1a0939a06ea51e65ed32d39e395e2b/
http://autobuild.buildroot.net/results/41f/
41fead6d53dba2539ba246f682973e0b5967f3d0/
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>