Define printf/debug callback for Android builds.