filters: GP_ResizeLinearLF: Templatize.

This templatizes the linear resampling with low pass.

The sampling by x is now template macro, which forced
inlining of the code which produces three times faster code.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>