Revert "Emit an error when comparing void* on duetto"

This reverts commit bde4dc9d820bbc8668ba295d36390f1ad24c8269.
The functionality is now restored