Skip loading kernel configs unless needed

Loading kernel configs is needed when the specified layout has
"requires_kernel_config".
Otherwise, we don't need to load kernel configs.

Bug: 320198280
Test: presubmit
Change-Id: I7955d65d804ed4965235a1649c5f5f53996f4d3b
1 file changed