Revert change to mailimap_literal_data_send signature, to preserve
binary compatibility with master.

Instead, cast the parameter at each callsite where size_t is used
(3 occurrences).