The New South Wales Premier has condemned a pro-Palestinian protest in Sydney, where flares were thrown onto the forecourt steps of the opera house.