libmemif: add an include of sys/types.h header file