arch_init: Clean up the duplicate variable 'len' defining in ram_load()