If the new signature has only readnone pointers we can remove any argmem effect from the function signature.