Truncate to width in drawtextwidth_right() for Linux

drawtextwidth_right() for Linux didn't honor width
limit, unlike the Windows version. E.g. overly long
friend nicks in chat window were rendered without limit
to the left.
Merge branch 'albel727-fix-right-adjusted-text-rendering-on-linux'

#
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.