x86, efi: Fix pointer math issue in handle_ramdisks()