Guard before_loadvm callback stuff in sample plugin with CONFIG_ANDROID.