thermal: Use DEVICE_ATTR_{RO|RW|WO}() variants