[3.0] contrib: ass: fix crash when combined with recent freetype
Using upstream patch until a new release comes. https://github.com/libass/libass/commit/0915955733bd236ecc44645ee968fb7a55ad5079
Fixes #26865 (closed)
(cherry picked from commit e516a8f2)
Edited by Steve Lhomme