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.
In the MIDlet I'm testing, in limits there's either max_kb or max_hres and max_vres, so we should test this case too:

        if (paramInt3 < 0)
        {
          localDataEncoder.put(5, "max_vres", paramInt2);
          localDataEncoder.put(5, "max_hres", paramInt1);
        }
        else
        {
          localDataEncoder.put(5, "max_kb", paramInt3);
        }