Revert "Revert "Convert the changes from common-ota_from_target_files.py to a device-specific hook for the "core" ota_from_target_files script.""

This reverts commit f510b2b18abf492f6ddc0beb1beb4a970324a7cf.