Merge "Disable -Wcast-function-type-mismatch" into main