Implement Hashable (Options Cairo R2) instance manually

Work around bug in GHC 7.4.2, which can't derive Generic for associated
data types.

See #42.  Waiting to close the ticket until I can test on 7.4.2.  So far
have only tested that it still compiles under 7.6.3.