The photonuclear energy loss of cosmic-ray muons and its relation with photon-nucleon cross-section