IB/mthca: Fix access to freed memory in catastrophic event handling