Handle max_kb in nokia.image-processing localmsg api

I tested with several images, the size of generated image is about 10%-20% larger than the given size which I think it's acceptable.
line142 is checking for the un-scaling case, i set max_hres and max_vres with 0 which will make the condition of line735 as `true`.