Port bug 850380 part 2 (remove XPIDL_FLAGS) to comm-central, r=Standard8, a=Standard8