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 bbd21082e311961d93b44de71ed1fd5f487d4d77.