A coroner has called for greater safety campaigns and law changes after the drowning of a four-year-old boy in a family pool that wasn't properly fenced.