An Istanbul court sentenced comedian Deniz Göktaş to nearly 19 months in prison, then ordered his release for time already served.