swr: Use ElemenCount constructor for LLVM 11
In LLVM 12 ElementCount constructor is private and instead of using it explicitly, ::get function should be used, but in LLVM 11, the constructor is still the way to go.
Closes: #3490 (closed) Fixes: 639605e5