ARM assembly pack: make it work with older toolchain.
(cherry picked from commit 2218c296b4981af6f2639bbd7eabfb89437fe776)
sparcv9cap.c: omit random detection.

PR: 3202
(cherry picked from commit 926725b3d7c1528f2dc116a48623c42264188277)