Remove the dependency of libswscale on img_format.h