The 6 month's on a passport is only if you are BUYING a visa to thailand at a thai consulate before you arrive here. if you are flying in on a 30 day visa exempt entry you only need as much time on your passport as you will get stamped in for when you arrive here.
Still, there's no down side to renewing the passport before they come here so I agree with
@Sha***
, get a new one.