rustc: Fix the logic for finding the Android main function

I don't understand what this logic is doing