UN appoints Gaza war investigator