You will probably have difficulty with a Visa to train to fly in the USA, though I assume it is worth trying. In the UK there is no such problem - I have just been teaching a Pakistani/UK/American Muslim (religious not secular, and the most tolerant and pleasant student I could hope for) through the groundschool here, who is about to start flying training.
As for a job, the market is not the best, but is definitely picking up. I suspect in the UK you will not be discrimated against by race. The Islamophobia that is reported in the press seems to be on the level of stupid street thugs. I have certainly not heard of any in the industry. Clearly my student was confident enough of the UK to convert his US licences
Best of luck with your dream to fly!