reg_sad implementation using SSE2/SSE4.1 intrinsics

~25% performance improvement on 1080p videos.