gallium + mesa/st: Add PIPE_CAP_NIR_ATOMICS_AS_DEREF and use it