rust: add overflow check in deserialize_option

To be consistent with other backends.

Bug: none
Test: aidl_integration_test
Change-Id: I415a3d98dca53cf2c0edc928e23ada3871872913
5 files changed