HFA: Trim identical trailing entries in RAT tables that are smaller
than the colour table. Helps when RATs travel via GTiff.