Fix buffer overrun caused by not updating a string length after address expansion.

from mutt hg tree
6348:9bf7593e3c08