Add a loadimagepalette function to load only palette of the image file.
Authored by: utunnels 2008-02-09
Parent: [r1531]
Child: [r1533]