Fix compilation errors in generated code. Bug: 270547306 Test: m rust Test: atest sysprop_test Change-Id: I74b4570a9d58521bf2cbc9a09fe7a457a302d8e5