Correctly set next watch/breakpoint IDs when restoring the debugger state from disk.