Fix inline assembly that doesn't work with clang or recent C++ standards. Approved by: portmgr (build fix blanket) MFH: 2024Q4