Thai PM warns of coup plot