s3-idmap: only include idmap headers where needed.