[PATCH 4.17 165/336] md: fix NULL dereference of mddev->pers in remove_and_add_spares()