The stabilizing role of cannibalism in a predator-prey system