map_string_t: fix overflow detection in "to int conversion"

LONG_MAX == INT_MAX on i386

Fixes the broken i386 build

Signed-off-by: Jakub Filak <jfilak@redhat.com>