Add declarations at the top of danmaku2ass.py