lesstif: inline sed wrapper locale fix

Closes #21569.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
lesstif: style nits