lib: crypto: enable x509_check_for_self_signed()