Ioreg: fix warnings in parser (eq fn)

The other warnings are in platformtree which I was told it's not relevant now.

And one in rlib , will send also PR there.