When adjusting variable-length sizes, odd things can happen on the encoding boundaries.  Play it safe and iterate until we know the final size.

JIRA-16118
Fix the size adjustment issue by tweaking the encoding of one value so that packed sizes never decrease as values increase.
Merge pull request #1379 from wiredtiger/jira-16118

Fix for adjusting variable-length sizes