The correct answer is option D. The best adaptation of the phrase "I think it lacks of twelve" is: I thinks it is before twelve.
According to the modern text, in Act 1, Scene 4 of the play Hamlet, Horatio answers to Hamlet's question by expressing that he thinks that the time is a little before twelve. The modern text reads: "A little before twelve, I think".