print-olsr: do not continue parsing when length of packet is invalid

This commit is an attempt to fix CVE-2014-8767.