[PATCH openEuler-5.10-LTS 24/55] bcache: fix NULL pointer reference in cached_dev_detach_finish