common/mlx5: fix shared memory region ranges allocation