dm cache: fix NULL pointer when switching from cleaner policy