Fix const 1

Merged Thomas E. Dickey requested to merge dickey/libxt:fix-const-1 into master

These are the start of a series for improving treatment of const in Xt.

Merge request reports