My records are from the IGI and show only 3 Thomas GATENBY born in 1838 (no Thomas John). Two probably stayed in the UK based on the 1881 census. The third could be the Thomas you ask about. He was christened 1 April 1838 at Whorlton parents Richard and Hannah (nee Usher).
I could add more details if you require.
There were ten generations of Thomas in the Ripon area. I have many records of this liniage including that of Sarah SCAIFE and Thomas married in 1819.