Constraining the p-Mode-g-Mode Tidal Instability with GW170817