HARLAN_DEVICE is now case-insensitive, and it reports an error for invalid values. Fixes #115.