Remove g_ prefix from IMAP functions.

They aren't limited to GMail.

Signed-off-by: Thiago Farina <tfarina@chromium.org>