[HW] fix FW checking in MTHCA and add it to MLX4. [mlnx: 4271]