Mark SqlFunctions as @Deterministic (with some exceptions), support static final constants generated by linq4j