am 9bd7afc0: Prevent integer overflow when allocating native_handle_t

* commit '9bd7afc0a1de9589c13355178b6edc709bd0bddf':
  Prevent integer overflow when allocating native_handle_t