ReplacePtrsWithInts: Drop all refs before erasing.
Tests: Fallout from nacl_tp_*_offset -> __nacl_tp_*_offset rename.