Elliptic-flow suppression due to hadron mass spectrum