Update collatz_phi.c

Minor efficiency change