Fix build with PostgreSQL 9.4devel

The definition of the variable `days` was changed to include some `const` decoration, which creates a conflict with the previous declaration in orafce.