minbif: add gnutls, respect optional dependencies.

Closes #26766.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>