The importance of hindered rotations and other anharmonic effects in the thermal dissociation of small unsaturated molecules: Application to HCN