A Cambodian court has jailed a 70-year-old barber for seven months over a violation of the country's royal insult law, the first such conviction since the law was adopted this year.