cifs: fix potential buffer overrun in cifs.idmap handling code