intel.lua: Removed unused constants.

This file is overdue for some heavy cleanup.
memory.lua: Removed old selftest code based on map_physical_ram.
pci.lua, selftest.lua: Check that pci.prepare_device() really succeeds.