Gregg County inmate dies while in custody