Fix #64712 (Obsolete declarations in php_date.c)
Fix conversion from unsigned char to char
Fix implicit uint* to int* conversion warning
Fix #64711 ("value computed but not used" in parse_date.c)
Fix implicit declaration warning for cdf_timestamp_to_timespec