NXTColorSensor: Fix constructor ignoring mode.

The constructor set the mode from the AnalogMode property, effectively resulting in a self-assignment.