[ffmpeg/f27] Backport power and arm arch handling improvements for 3.3x