The assault on the media has had a chilling effect on public debate in the run-up to a national referendum next month on a series of constitutional amendments that would strengthen Erdogan's hold on power.