gifclrmp -t inverts the translation index at gifclrmp.c:392, producing wrong colours and a heap out-of-bounds write