[upstream] Clean up libpapersize.