fixes for lomo and kelvin filters

Hi
i added two fixes on the lomo and kelvin filters which seemed not be working at least on my server. you can view the changes on the code. maybe this is a provlem on others as well. i downloaded the latest version of imagemagick on my server with yum installer