Fix NPE if setpointType is null

https://github.com/openhab/openhab/issues/796