x86/swr: use lavu helper macros to check CPU extensions