x86/lossless_videodsp: simplify and explicit aligned/unaligned flags
x86/lossless_videodsp: use common macro for add and diff int16 loop.
x86/lossless_videodsp: silly one-line cosmetic.
avcodec/libx264: also consider ticks per frame for fps/timebase setup

Setting fps = 1/timebase is not correct

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>