A man wearing a shirt resembling a swastika has been ordered to move on outside the building where the antisemitism royal commission was being held.