IB/mlx4: Add support for masked atomic operations