Fixed bug when adding an Rx packet to the ICMPv4 queue

The packet's state_flags must be updated before
adding to the packet to the queue, not before.

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>