Handle posix_fallocate() errors.
Handle posix_fallocate() errors.

On some platforms, posix_fallocate() is available but may still return
EINVAL if the underlying filesystem does not support it.  So, in case
of an error, fall through to the alternate implementation that just
writes zeros.

Per buildfarm failure and analysis by Tom Lane.

jmcatamney/gpdb,pavanvd/postgres-xl,xinzweb/gpdb,ovr/postgres-xl,jmcatamney/gpdb,techdragon/Postgres-XL,50wu/gpdb,zeroae/postgres-xl,yazun/postgres-xl,ovr/postgres-xl,greenplum-db/gpdb,adam8157/gpdb,ovr/postgres-xl,50wu/gpdb,50wu/gpdb,Postgres-XL/Postgres-XL,greenplum-db/gpdb,greenplum-db/gpdb,ovr/postgres-xl,lisakowen/gpdb,xinzweb/gpdb,xinzweb/gpdb,50wu/gpdb,techdragon/Postgres-XL,yazun/postgres-xl,xinzweb/gpdb,adam8157/gpdb,zeroae/postgres-xl,jmcatamney/gpdb,adam8157/gpdb,yazun/postgres-xl,xinzweb/gpdb,adam8157/gpdb,greenplum-db/gpdb,50wu/gpdb,adam8157/gpdb,lisakowen/gpdb,xinzweb/gpdb,oberstet/postgres-xl,50wu/gpdb,ashwinstar/gpdb,lisakowen/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,jmcatamney/gpdb,adam8157/gpdb,oberstet/postgres-xl,pavanvd/postgres-xl,greenplum-db/gpdb,adam8157/gpdb,greenplum-db/gpdb,lisakowen/gpdb,techdragon/Postgres-XL,Postgres-XL/Postgres-XL,Postgres-XL/Postgres-XL,greenplum-db/gpdb,oberstet/postgres-xl,xinzweb/gpdb,pavanvd/postgres-xl,oberstet/postgres-xl,ashwinstar/gpdb,ashwinstar/gpdb,techdragon/Postgres-XL,zeroae/postgres-xl,lisakowen/gpdb,lisakowen/gpdb,50wu/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,yazun/postgres-xl,ashwinstar/gpdb,50wu/gpdb,jmcatamney/gpdb,zeroae/postgres-xl,pavanvd/postgres-xl,xinzweb/gpdb,ovr/postgres-xl,lisakowen/gpdb,techdragon/Postgres-XL,lisakowen/gpdb,Postgres-XL/Postgres-XL,jmcatamney/gpdb,pavanvd/postgres-xl,Postgres-XL/Postgres-XL,zeroae/postgres-xl,yazun/postgres-xl,adam8157/gpdb,jmcatamney/gpdb,oberstet/postgres-xl