[bcl] Invoke assembly resolve hooks even if the assembly name has a parse error. Fixes #16487.