avfilter: x86: Port gradfun filter optimizations to yasm

Signed-off-by: Diego Biurrun <diego@biurrun.de>
golomb: reduce scope of a few variables

Signed-off-by: Diego Biurrun <diego@biurrun.de>