kernel32: Fix calculation of returned buffer in get_registry_locale_info.