plugins/debug.c: Fix bug. When a register new read value is the same as the old one, the "value-changed" signal was not being emitted.