bridge: Fix parsing of zero length base64

GLib gives a warning about this, so we need to handle it before
calling the g_base64_decode_step() function.