block: fix return method of BLOCK_DEV_FORMAT operation