Kit Harington was "seconds" away from death when he got into difficulties in a swimming pool when he was just four years old.