Fixes for CC2420 test application

These corrections allow the CC2420 test application to compile and execute successfully, at least on Zolertia Z1 port.