Ensure we don't modify the original PDF data when sanitizing TrueType

Fixes #3263