Fixes an issue with revision 5c6f748c. Move the test added in the above commit into the X86 folder, ensuring that it is only run on targets where its triple is valid.