It seems like some data is lost from the deviceinfo file during the build process... Here's the output of unpack_bootimg
after the build:
kernel_size: 18686554
ramdisk size: 6267912
os version: 12.0.0
os patch level: 2022-09
boot image header version: 3
command line args: