The death of a 10-year-old boy who fell down an open manhole at a construction site in Glasgow could have been avoided, a sheriff has determined.