Oh my goodness - I totally understand this. My dog has struggled with gas for a while - and when she passes gas, it is so loud that she startles herself and then looks at as like "What WAS that?!"
I do think you should tell the owners, but only because the experience of my dog having gas was something that came right before a bout of very severe pancreatitis. I would check in with the owners and let them know that the pup seems to have some stomach upsets resulting in gas, and while it doesn't seem to be upsetting him at all, you just want to make sure that they are aware - and maybe see if they even already have a solution. It might be nothing at all, it is most likely just that his "nerves" about staying in a new place are coming out through stomach upsets, even if he seems totally fine otherwise, but since my dog's pancreatitis, any gas is a sign that she is flaring up and needs to be put back on meds for a bit.
Good luck to you -- dog gas is SO crazy stinky, honestly it is sometimes unbelievable it can come from such small creatures. One more dog gas story (is this enough TMI for you yet?) -- I had a bull dog staying with me a few weekends ago, and he had a bout of gas one evening after having a treat (I've stopped giving any treats to any dogs after this - it's just not worth it!). He was nearly 80 pounds of lumbering giant and would walk around and just slide on the floor. He decided to walk up the steps, and with each slow step he took, he would release a ridiculously loud and pungent dog fart. 13 steps later, and our entire family had left the room. He fell asleep right at the top of the stairs and started snoring.... I'm telling you... DOGS!