fix linux-am33x-legacy detection