Outgoing Greens NSW MP Mehreen Faruqi has spoken of the racial abuse she has faced as a Muslim.