gmime: add build-time dep on libgpg-error

Closes #19236.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>