tools: in plugin_replacement.py, search for CodeView entry in DIRECTORY_ENTRY_DEBUG instead of using index 0.