libbinder_rs: Build on Trusty

Add rules.mk build file for Trusty and make some
small changes to libbinder_rs so it builds.
Disable ProcessState and ThreadState on Trusty
since those are kernel Binder APIs.

Bug: 242243245
Test: build on Trusty
Change-Id: I8110be2397322acbc6a971f246b074c8811592bf
diff --git a/libs/binder/rust/src/proxy.rs b/libs/binder/rust/src/proxy.rs
index dad3379..7434e9d 100644
--- a/libs/binder/rust/src/proxy.rs
+++ b/libs/binder/rust/src/proxy.rs
@@ -32,8 +32,8 @@
 use std::ffi::{c_void, CStr, CString};
 use std::fmt;
 use std::mem;
+use std::os::fd::AsRawFd;
 use std::os::raw::c_char;
-use std::os::unix::io::AsRawFd;
 use std::ptr;
 use std::sync::Arc;