The actor, 71, played Will Robinson in the '60s sci-fi series.