skd1
I am assuming, that because the temporary stamp is valid for 1 year, the passport has to ve valid, for more than that period.
you have 2 options.
1-get the passport Renewed (Its a 1 day affair) and then go for passport stamping.
2-Try going for passport stamping with the 6 month valid passport, either the Officer will stamp your passport (Pray he/she is ignorant), or the officer will just take your signature and your finger printing, but will not stamp the passport, which is also Ok as the stamp is temporary only (Not Required), and your GC will be mailed to you in due time.
Hope this helps