[feature/avatars] Auto-clear avatar dimensions when first changing avatars

In the remote avatar and gravatar the dimension input boxes will now be
cleared when changing the avatar. This will only happen once per
page-load. Any input after the first change will not trigger this.

PHPBB3-10018