Copy from 5.34 patches: Copy now in the TFitResult the TF1 function pointer, which will be managed by the class. This fixes the bug ROOT-6582