Add mirror and raid classes to kernel configuration.  According to
William there are some users who use this for boot.

(cherry picked from commit 7336868e8215ed5d05a1ac228db649310663ba8e)