Fix diffing a blob to a buffer using GObject-Introspection

Must use guint8 for a byte array not gchar, otherwise
Python can't use the method at all. This is already done
in various other places that provide the length.