Fig Risotto with Caramelized Onions