drivers: eth_mcux: Optimize check if received frame too large
drivers: eth_mcux: Optimize check if received frame too large

For some reason, there was sequence like:

1. Get size of RX packet.
2. Allocate pkt buffer.
3. Check if the size of RX packet is too large, then deallocate pkt
buffer and error out.

Instead, reorder operations to check size before allocating buf.

Signed-off-by: Paul Sokolovsky <35cb557f011771c94f127d6fef99f804b62203f5@linaro.org>

ldts/zephyr,Vudentz/zephyr,GiulianoFranchetto/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,explora26/zephyr,ldts/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,finikorg/zephyr,GiulianoFranchetto/zephyr,finikorg/zephyr,nashif/zephyr,galak/zephyr,explora26/zephyr,finikorg/zephyr,Vudentz/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,galak/zephyr,GiulianoFranchetto/zephyr,galak/zephyr,ldts/zephyr,ldts/zephyr,explora26/zephyr,nashif/zephyr,Vudentz/zephyr,galak/zephyr,ldts/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,explora26/zephyr,finikorg/zephyr,galak/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr