[patch 12/29] binfmt_misc: fix possible deadlock in bm_register_write