block: fix boot failure with CONFIG_DEBUG_BLOCK_EXT_DEVT=y and nash