Manchester City came from behind to beat Bournemouth and earn an FA Cup semi-final against Nottingham Forest at Wembley.