Check 'Allocator::isGarbageCollected' value at compile time

SSIA. It is better to be notified about an error right away
at compile time instead of waiting for an assertion hit.

Review URL: https://codereview.chromium.org/166643002

git-svn-id: svn://svn.chromium.org/blink/trunk@167287 bbb929c8-8fbe-4397-9dbb-9b2b20218538