Abort if the filename to be added matches the linker output filename.