Disable source files when constxpr not found

Update source code that should be disabled when constexpr is not found.
Error introduced by name change in commit opm-porsol@33523a9.