Fix 20839: Make sure the YUI3_config is used when loading YUI3 components
(cherry picked from commit 22c8fcee3825b356c6482f68fd2c5e6a9f8c07c3)