Fixes #16917: Complex Type fails when array is terminated by semi-colon

In the Manage - Manage Configuration page, when a semi-colon is at the end of the array() definition, the field is treated as a string instead of a complex array.  This can happen easily when users are copying and pasting from config_defaults_inc.php and applying their changes.