s3: Wrap usage of rlimit in configure checks