Check for 0-point contours in rasterizer_set_outline()

Fixes libass#129.
Correctly close last contour in case of overflow
Check FT_Outline_New return value

Makes #131 not crash. The function likely fails because the number of
points exceeds SHRT_MAX.