Throw when passing array_mergev() non-array items

Summary: See rP481a2954545e for an example of the kind of error this can catch.

Test Plan: Ran unit tests.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D9213