build: Fix compile error on FreeBSD/i386

src/epggrab/module/opentv.c:296:16: error: format specifies type 'long' but the argument has type 'time_t' (aka 'int')
mpegts: Implement using nanosleep() for systems where clock_nanosleep() is not available