C: Fix classic header timestamps

f987124 broke the timestamps on classic headers
when running on little-endian machines. This fixes it.