addprebuilts: loop over device Makfiles and look for TARGET_ARCH

Signed-off-by: Constantin Runge <uroc327@cssbook.de>