[Analyser] Remove unused method

compute_platform_for_target_definition was being called once and the result was never used.