Former cricketer Stuart MacGill found guilty over cocaine charge