[upstream] Add libpaper