app: Use g_return_val_if_fail in gimp_palette_mru_add.

It's a non-void function.