Revert dt_grammar.y to Illumos version

The changes to this file were never upstreamed and caused the compiler
to complain about type issues. Any changes made here should be
upstreamed.

Signed-off-by: Richard Yao <ryao@gentoo.org>