packet lib: fix ipv6 parser

payload length in ipv6 header doesn't include the basic ipv6 header
length (40 bytes).

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>