Edit Book: Fix a crash when performing some image editing operations on 64 bit calibre builds