[#1709] Correctly detect that Unsafe.copyMemory is missing