gnutls: tighten up accepted-cas notify

The intent was to skip notify if the accepted-cas list is empty both
before and after the handshake, but this failed because we're only
checking whether the list exists, not whether it's empty, and it always
1 job for mcatanzaro/accepted-cas in 29 seconds