cifs: check for NULL last_entry before calling cifs_save_resume_key