Fix for is_callable throwing array->string conversion notices

See facebook/hhvm/#1995