[amd64] Fix aot support in throw_pending_exception ().