Check that current_mb != NULL before calling strcmp on it.

This fixes a crash where mailfolder_status is called using
a mailfolder that has been reset with imapdriver_select_folder.