hw: Use new memory_region_init_{ram, rom, rom_device}() functions