[MTHCA] mthca_provider.c - prevent dereference of <NULL> mdev or mdev->ext