[PATCH 4.4 219/230] md: Fix failed allocation of md_register_thread