This lays the groundwork to start enforcing some security policies if
secureboot is enforced. Add loader_init_lockdown(), which every loader
now calls early, before anything else has a chance to set
boot_lockdown. This creates boot_lockdown with a hook that keeps it
from being disabled once lockdown is enabled; a boot_lockdown set
before then would never reach the hook.
The EFI loader enters lockdown if secureboot is enforced, and the other
loaders start out of lockdown.
Sponsored by: The FreeBSD Foundation
Sponsored by: Klara, Inc.