packet: Fix NDP option packing

This was a bug from a code path which apparently hadn't been exercised.