corebootPkg: MemDetect

Avoid a cast that fails on X64.

Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>