Cast to int before type diff of enums [coverity CID 43036]

(rasqal_literal_compare): Cast to int before type diff of enums
[coverity CID 43036]