PB: Preserve the SW invert flag after a HW rotation (#1264)
PB: Preserve the SW invert flag after a HW rotation (#1264)

Fix https://github.com/koreader/koreader/issues/7017
Supercedes https://github.com/koreader/koreader/issues/7022
koreader/koreader-base,NiLuJe/koreader-base,NiLuJe/koreader-base,NiLuJe/koreader-base,koreader/koreader-base,koreader/koreader-base,koreader/koreader-base,Frenzie/koreader-base,Frenzie/koreader-base,Frenzie/koreader-base,Frenzie/koreader-base,NiLuJe/koreader-base