x86: fix software raid autodetection on boot (patch from #6548 by Pieter "Fate" Hollants)