An ergodic theorem of a parabolic Anderson model driven by Lévy noise