Merge "heif: fix rotation info writing" into pi-dev