NXTColorSensor: Fix constructor ignoring mode.

The constructor set the mode from the `AnalogMode` property, effectively resulting in a self-assignment.

DISCLAIMER: Completely untested, sent from the GitHub Web editor.