Add missing header declarations for pg_basebackup and pg_{dump,restore}
This fixes two compilation failures caused by
6f164e6. Interesting to
see that missing <limits.h> dies not fail in Linux or even Windows. On
MacOS, it fails, though.
Per various buildfarm members.