Add workarounds for the kernel's sin_zero-related bugs.