hevc: Drop unnecessary shifts in deblocking_filter_CTB

beta_offset is pre-multiplied by 2.
hevc: Do not right shift a negative value in get_pcm
hevc: Do not left shift a negative value in hevc_loop_filter_chroma
configure: disable cpunop if the check fails

Moving cpunop from the HAVE_LIST to the ARCH_EXT_LIST_X86 has the side
effect of enabling it. The semantics of the check have to be changed
from enable if successful to disable if unsuccessful. This was missing
in 2b0bb69997c2416e74f41aa1400ce983bf8775c0 causing build errors with
nasm.
x86: add missing XOP checks and macros

Signed-off-by: James Almer <jamrial@gmail.com>
x86: add detection for FMA3 instruction set

Based on x264 code

Signed-off-by: James Almer <jamrial@gmail.com>
x86: add detection for Bit Manipulation Instruction sets

Based on x264 code

Signed-off-by: James Almer <jamrial@gmail.com>