fix the range of SAD

reviewed at https://rbcommons.com/s/OpenH264/r/45/