Galliford margin nears 5% despite construction losses