Precision resonance energy scans with the PANDA experiment at FAIR: Sensitivity study for width and line shape measurements of the X(3872)