s3-winbindd: Move idmap_fetch_secret to idmap_utils.c for reuse