pkmds_g5_sqlite: fixed Clang support

* Clang doesn't like comparisons between strongly-typed enums and ints