minor gpu TVL1 optical flow optimization:

don't calc diff term if it is not used for epsilon criterion
Merge pull request #1317 from jet47:gpu-tvl1-optimization