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.
We might not get `max_hres` or `max_vres` or none for both when `max_kb` is given, so I check if `max_hres <= 0` for skipping scaling process.