imap: Corrected char* references with char *

Corrected char* references made in commit: 709b3506cd9b.