x86/me_cmp: combine sad functions into a single macro