[PATCH 6.12 094/172] net/mlx5: DR, prevent potential error pointer dereference