kdump/kexec: calculate note size at compile time