multi_clipboards.sh: use $max instead of $((CLMAXHIST))

Multi_clipboards.sh -I does not work well when the CLMAXHIST environment value is not set.
This pull request will fix this issue.