Dynamics of tripartite quantum entanglement and discord under a classical dephasing random telegraph noise