James Bond actor Daniel Craig has quit the courtroom drama movie The Whole Truth just over a week before production started.