Hysteretic loss in hard superconductor samples with non-zero demagnetization factor