block: fix ext_devt_idr handling