cuda.bbclass: eliminate anonymous python function
cuda.bbclass: eliminate anonymous python function

and just use bb.utils.contains in variable settings.
And switch back to using a machine override for setting
PACKAGE_ARCH, since doing that via the conditional is
proving to be problematic in some cases.

Signed-off-by: Matt Madison <1fa2ef4755a9226cb9a0a4840bd89b158ac71391@madison.systems>

jackmitch/meta-tegra,jackmitch/meta-tegra,jackmitch/meta-tegra