remove dead code from toobj.c

D1 has diverged enough from D2 that the conditional compilation is no longer relevant.