Hack around double Content-Type header GMime bug

GMime has a bug where if you remove a header from a freshly parsed
message, it'll add a second Content-Type header.

See https://bugzilla.gnome.org/show_bug.cgi?id=724702.

Closes: bgo #724329