IB/mlx5: Fix use of null pointer PD