fix Issue 10457 - _d_toObject might fail with shared libraries

- Interface.offset can't be negative so it should be an unsigned value
Merge pull request #529 from dawgfoto/fix10457

fix Issue 10457 - _d_toObject might fail with shared libraries