drivers/md: Remove unnecessary casts of void *