auth/gensec: replace #if _SAMBA_BUILD_ == 4 by a feature test