remove unused pdfile parameter from read_hybridization states
move ifdefs outside the leaf_attribute functions