Anti-government protesters have rallied in Thailand after the prime minister was acquitted of an ethics violation and allowed to keep his job.