Stable Numerical Schemes For Time-Fractional Diffusion Equation With Generalized Memory Kernel