Disallow numeric casting to dynamic_t which may lead to overflow.

It's better to make a user cast explicitly than throw exceptions at runtime.