md-raid10: fix KASAN warning
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.19.2 by commit 5f57843565131bb782388f9d993f9ee8f453dee1. For more details please see the references link.