When checking consistency of histogram (e.g. in TH1::Add)  check only the relevant axis (e.g ignore y and z axis for 1D histos)/
this fix ROOT-5249