The loader has long supported the 'kernels' variable, a list of kernels that
could be cycled through via the loader menu, defaulting to kernel and
kernel.old.
This change will automatically populate the variable that powers that
list if it is not manually defined, with the list of installed kernels.
This will complement the upcoming packaged base feature that keeps
previous kernels as a fallback.