migrate: Update ram_block_discard_range for shared