Indicting President Omar al-Bashir of Sudan over alleged war crimes in Darfur could put peacekeepers at risk, a senior UN official warns.