Refactor ipv4packet.yang to use already-defined inet types, per Wojciech's previous patch.

Change-Id: I9b104b27413bc9cec08946762bc34590c9c1d2f1
Signed-off-by: Alex Fan <railor33@gmail.com>