glib-networking: enables CA cert checking

This modification is necessary to provide a version of
glib-networking that will check CA certificates.

This is necessary to make the Ruby gem 'rabbiter' work.

Closes #22180.

Signed-off-by: Xiyue Deng <manphiz@gmail.com>