I think it works either way since you don't often have any say in what you dream about. Sometimes it's meaningful, sometimes not. It's open to interpretation.
Besides, it wasn't the child's death that haunted Shepard, it was there sheer volume of death over the years. That's why the dark shadows became more numerous each time and why the voices of more deceased characters could be heard each time. The image of the child was just a symbol.