SQLITE_DETERMINISTIC portability fix

If a version of sqlite too old for the deterministic function flag is
used, define SQLITE_DETERMINISTIC as 0 so that ORing it with other flags
has no effect.  Since the deterministic flag only affects performance it
is safe to simply make it a no op.