i checked over the weekend and there is an Air India transfer desk, at transfer counter 3, located at the start of concourse G. They said there was no need to pass through immigration. Just go directly to the transfer counter when you arrive at BKK and get your onward boarding pass.