commit: Correct a bug in #'display-graphic-p.