Add missing platform header for HP-UX.

The code compiles without it, but gets the wrong definition of stat
on HP-UX