avfilter/vf_deshake: fix loss of precission with odd resolutions