Fix avx512 compilation (follow up !2111)
!2111 (merged) broke compilation using avx512
thanks to some missing bitshift operator overloads.
This MR fixes it by changing the bitfield get/set operations to not use bitshifts. The first commit is necessary, the second and subsequent ones are optional (but makes the code more succinct).
Edited by Rosen Matev