Former Aston Villa midfielder Gareth Barry says he can empathise with Jack Grealish as he decides where his future lies.