Fix rotate tool to work with premultiplied alpha

(Related to #96)

Every tool that interacts with FreeImage has to be rewritten to account
for the new alpha handling technique.  This is just one of several
similar commits...