anv: fix potential integer overflow
Description by Coverity:
Unintentional integer overflow (OVERFLOW_BEFORE_WIDEN)
overflow_before_widen: Potentially overflowing expression 1 << b with type int
(32 bits, signed) is evaluated using 32-bit arithmetic, and then used in
a context that expects an expression of type VkAccessFlags2KHR (64 bits,
unsigned)
CID: 1492745
CID: 1492748
Fixes: b996fa8e ("anv: implement VK_KHR_synchronization2")
Edited by Marcin Ślusarz