codec/libass: avoid possible segfault