Ian Henderson scored a second-half double as struggling Rochdale came from behind to win 2-1 at Bradford.