migration/ram: Fix compilation with -Wshadow=local