Add a test for PR binutils/22451