Courthouse shooting suspect dies in custody