[ndctl PATCH v2 2/4] ndctl: add ndctl_encode_smart_temperature()