tup: yosemite fix

Closes #33760. Not accepted upstream yet, but it does work, albeit
generating a non-fatal error.