BIOS: Implement memory detection

Detect available memory using INT 15h function E820h and register it
with the generic memory management code.