python: Fix ColorXHTML export
This patch attempts to resolve an issue with ColorXHTML export noted by @ajonsson in #6019 (comment 2082532).
Since gimp_drawable_get_pixel()
now returns a GeglColor instead of a GimpRGB struct, we needed to update surrounding code to handle the new object type.