onewire plugin: fix two compiler warnings