Add missing OMP THREADPRIVATE. Note this was not a significat error as the varaible is only used for printing.