net/mlx5_en: Add missing check for memory allocation failure