Fix segfault in native compiler on int31 division.

Thanks to Yves for reporting it!