[PATCH 3/5] cmd: Fix an off-by-one error in WCMD_expand_envvar().