compile: consolidate OutputType check to single switch
compile: consolidate OutputType check to single switch

Signed-off-by: Xiang Liu <527480b293b84f213f6fe09def42cafb8deed488@126.com>

michi-covalent/cilium,cilium/cilium,cilium/cilium,cilium/cilium,cilium/cilium,michi-covalent/cilium,cilium/cilium,michi-covalent/cilium,michi-covalent/cilium,michi-covalent/cilium