avfilter: add hqx filter (hq2x, hq3x, hq4x)

TODO: factor even more hq4x (in a 2x2 top left corner box, top right and
bottom left are just the same version rotated)