Fix null pointer segfault when calling dump() on a DeclStmt containing a VarDecl.