In total, 391 dams, most of them small, were reported damaged by the quake