[PATCH v4 1/2] kernelbase: Rework ExpandEnvironmentStringsW error cases