! Make sure $modSettings['custom_avatar_dir'] is defined during the upgr...

...ade (fixes #1327)

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>