Use wp locale instead of 'en_US' if locale argument is not used in wp core update

Use the locale setting from wp-config.php instead of hardcoded 'en_US' when `wp core update` is called without locale parameter.