build: Add support for overriding dynamic ramdisk