pidgin/pidgin

Fix a few issues with the CredentialProvider code that snuck past review

Testing Done:
Compiled and ran unit tests locally. Verified the warnings were gone from the unit test build and verified the warning was gone from the Purple-3.0.gir build.

Reviewed at https://reviews.imfreedom.org/r/168/
---
id: im.pidgin.Finch3
runtime: org.gnome.Platform
runtime-version: '3.36'
sdk: org.gnome.Sdk
command: finch3
finish-args:
- --share=ipc
- --socket=x11
- --share=network
- --talk-name=org.freedesktop.Notifications
- --system-talk-name=org.freedesktop.Avahi
modules:
- packaging/flatpak/libpurple-common.yml
- packaging/flatpak/libgnt.yml
- name: finch3
buildsystem: meson
config-opts:
- -Dgtkui=false
- -Ddoc=false
sources:
- type: dir
path: '.'