ospf_apiclient_lsa_originate: Fix on-stack buffer alignment

A char array on the stack does not necessarily have the required
alignment of some of the struct members.
ospf_apiclient_lsa_originate: Guard against excessive opaquelen values

This makes sure we do not write beyond the end of the buffer on the
stack.