dlxj: Apply kexec-hardboot patch
original patch was provided by jamiethemorris
Fix macro in memory.h