EpgDatabase: add include of "system.h"
XBDateTime: add include of "XTimeUtils.h" for POSIX targets and "windows.h" for win32
CArchive: huge reduce of included headers by including "PlatformDefs.h" instead of "system.h"