Several warnings plus <sys/time.h> added

Several of these patches are in regards to dialogue in sourceforge here concerning Irix:
[Fontforge-devel] problem in contextchain.c, 2013mar12