platform/x86: mlx-platform: Fix error handling in mlxplat_init()