IPA/AD/SDAP/BE: Generate refresh callbacks with a macro
Related: https://pagure.io/SSSD/sssd/issue/4012
The per-object type refresh functions are more or less boilerplate code.
Even though macro-generated code should be used very rarely, here the
generated code does not contain any logic at all so it makese sense to
generate it with macros.
Reviewed-by: Sumit Bose <sbose@redhat.com>