Merge pull request #548 from dmigous/547_objc_bool_always_true

objc.swg: fixed check of pointer to boolean. Fixes #547