fs/block_dev: fix potential NULL ptr deref in freeze_bdev()