Assert when passing a nullptr to pushStmt or pushDecl. For convenience, allow
nullptr values to be used with PushStmtForScope and PushDeclForScope.