src: remove unnecessary ASSERT's

Since V8 will automatically fail in debug mode if the cast is incorrect
there is no need for us to do so.