Thai premier survives no-confidence motion