Dylann Roof had his first court hearing as he faces charges of killing nine people at a historic black church.