Add in-place version of get_log_stirling1_row(n, result)