waf: Remove 'linkflags.remove(x)' line added in error.