Apply kexec-hardboot patch
Fix macro in memory.h