The Inbetweeners star James Buckley has revealed he has stopped drinking alcohol after discovering a health condition following blood tests.