[x86] Add the test case from PR22412, we now get this right even with