mlx5: Fix handling of port_module_event
(cherry picked from commit 253a1fa16b98ac5f73f0820cfdd4f5ad7378757a)