x11/hamclock: fix build on armv7
PR: 267439 (cherry picked from commit ba97dbab1eba786c0bedfe11d583f2e6dd4fd1b6)