graphics/libksane: reduce dependencies
ecm, doctools and testlib are built-deps, not needed at runtime.