gnutls: fix compilation on 10.7

Fixes #33470.