update package freeimage
package freeimage: fix static build and add test program
package freeimage: fix test program for stable branch
package freeimage: create and use pkg-config file