Fixed use of 'end' parameter of fonsDrawText and fonsTextBounds

Also compute end earlier in fonsDrawText (if needed) so that
fonsTextBounds doesn't need to recompute it.