Remove references to image libraries and Xdamage

These libraries are no longer being used for anything.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>