Theoretical analysis of oscillatory terms in lattice heat-current time correlation functions and their contributions to thermal conductivity