[PULL 17/32] crypto: use g_autofree when loading x509 credentials