net/mlx5: Fix error flow in CREATE_QP command