Avoid buffer overflow if there were too many arguments, also adjust lenp to contain actually consumed space on truncation.
Avoid buffer overflow if there were too many arguments, also adjust lenp
to contain actually consumed space on truncation.

bootarg_list can be static again, it's not referenced from outside.

ok deraadt@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars