[ticket/12775] Use a field instead of a local var in load_config_var()

PHPBB3-12775