im: add more debug info to unconfirmed message list scanning