Remove kexec error if hardboot is not defined

Change-Id: I80bd62a68899c8c32a3860f4e412f3ef6f3a44da