Truncate to width in drawtextwidth_right() for Linux

Not sure if that also fixes the bug when friend name contains newline characters, but hopefully someone will test it.