s3 build: Remove unused fstat check to fix a bunch of HAVE_FSTAT warnings