Fixed bug in PDL::Graphics::Prima::Palette::apply()