app: prepare for more palette load/import GOI porting

by passing an open GInputStream to gimp_palette_load_gpl(), all
palette import functions will become like that.