s3-xattr_tdb: Use talloc_stackframe() more to allow calling from common code