Performance improvement to mii_rx_pins

This change improves the performance of mii_rx_pins so it can work on a 50 mips tasks (e.g. 8 tasks on a C4 part), assuming no high priority queue. 

This has been tested on the app_ethernet_demo but still needs more thorough testing.