Goods train derails in Krishnagiri