Driver core: Fix up build when CONFIG_BLOCK=N