bring back C++ impl of rcpp_error_recorder. R impl was invalidating Rcpp's cache