Frontend/util: optim image2clutter_img()

Signed-off-by: Jerome Flesch <jflesch@gmail.com>