[PATCH 6.17 487/507] dm-raid: fix possible NULL dereference with undefined raid type