They should fit diameter wise , the only things I am not sure of is , the brake caliper mount on the fork lug , as the front rotor on the 12 is 240mm and the 17 has a 260mm rotor , so the size of the mount would be different , and I am not sure if the 17 caliper mount will directly bolt to the 12 fork lug and if the 17 caliper will bolt to the caliper mount , and I am not sure how much offset difference there is in the lug itself (axle offset) , so that needs to be measured as well (the distance from the center of the fork tube , to the center of the axle hole on both your and their fork) .......
So do some research before purchasing , possibly contacting the seller to send you pics of the mount on the lug itself as well as the caliper mount that bolts to it , including mounting points where the caliper attaches if stuff does not bolt up , then you are going to have to use 12 parts to make it work ........ Then........ If the axle offset is different , it will affect the handling dramatically , I can't say for worse or better ... but the frame geometry of the 17 was designed with specific specs (completely different geometry than the 12) , as to not speed wobble you to death , as well as not knife or push in corners .... the axle lug offset has a major effect on that ...... I am thinking you will end up having to find (on EBay) a used set of 17 or 18 forks ........ as just because the 12's will bolt up to your clamps , does not mean the bike will handle well with the earlier year forks , nor does it mean you can just bolt them on without modifying the brake setup , even a couple mm will make a major difference in axle lug offset , as you are amplifying that measurement over the length of the fork , so it amounts to a great deal of change to the geometry/handling .......
Like I said , do extensive research before pulling the trigger , it could be a expensive mistake and you would end up having to try to recoup your money and would still need a set of forks .....
On another note , I have seen sellers sell just 1 fork leg ..... so you might get lucky and only have to purchase 1 instead of a set , that will save you some $$$ .$$
Also try contacting some of the suspension shops ... they may have a tube that would most likely be much cheaper than OEM