[android] Add helper for building discount
discount is needed to bring kookbook to Android (https://phabricator.kde.org/D26315). It's a bit tricky to crosscompile since it generates code from a previously built executable so we do a native build first followed by a target build