dict.c: prevent useless resize to same size.
dict.c: prevent useless resize to same size.

Related to issue #2306.

Koed00/disque,mopuri-sandeep/disque,CodyReichert/disque,douxiaozhao/disque,seppo0010/disque,CodyReichert/disque,lamby/disque,douxiaozhao/disque,jmptrader/disque,felixbuenemann/disque,ErikDubbelboer/disque,jmptrader/disque,gideonairex/disque,c2j/disque,GrimDerp/disque,chen-tian/disque,mopuri-sandeep/disque,tempbottle/disque,gideonairex/disque,lamby/disque,jmptrader/disque,lamby/pkg-disque,hanicker/disque,ErikDubbelboer/disque,themage/disque,antirez/disque,c2j/disque,sunheehnus/disque,antirez/disque,lamby/pkg-disque,felixbuenemann/disque,seppo0010/disque,tempbottle/disque,hanicker/disque,GrimDerp/disque,themage/disque,sunheehnus/disque,chen-tian/disque,Koed00/disque,themage/disque