msi_alloc(): do not leak msi_lock in error case
(cherry picked from commit 5681ddfd9f80c3aa25f900a1bcaa69b36a4e9e27)