stmmac: platform: Move plat_dat checking earlier