iniparser: `dictionary_set' must return a value.

The `dictionary_set' function is supposed to return an integer but in
two cases it was not leading to a build error when using Clang 3.4.
Merge pull request #41 from dholm/bugfix/osx

iniparser: `dictionary_set' must return a value.