I acknowledge that you fulfilled my request but personally remain unconvinced using those examples. Tom is generally a nickname for Thomas and borrows pronunciation from that.
However I did remember the words kin and kind but there’s also tin and tint. So I’m just going to declare English overall as highly inconsistent and silly, will still pronounce gif with a hard g, but recognize that you have a different point of view. 🙂
I wouldn’t recommend that. You’d probably catch something weird.