Fix UB in implicit conversion in cast to keymaster_command

The keymaster_command enum was implicitly represented by an int32_t which caused UB when the uint32_t command from the deserialized request couldn't be implicitly converted to int32_t in the cast to keymaster_command.

Bug: 193672186
Change-Id: I5ba0d91e367210edeb3ece81df2b667c08d3d8eb
1 file changed