compat/pread.c: Add a forward declaration to fix a warning