Refactor true_or() and false_and() in object.c.
Merge pull request #1355 from suzukaze/refactor-object.c

Refactor true_or() and false_and() in object.c.