fix foreach() bug in extension_customizer.php (#1480)

See https://github.com/ReduxFramework/redux-framework/issues/1480