kernel: fix regression in backtrace module info change (#19631)