Avoid redundant allocations in the linker optimisation hint