There is no general way to to avoid a register. However, on PPC, you can use the constraint "b" rather than "r" to indicate that you want a general register other than r0.
Thank you Ian and Andrew! That looks like the perfect solution - I will try it now!
Cheers Andy