fix: APNG PLTE parsing array out of bounds