common: Use simpler parsing in cockpit_transport_parse_command()

Just parse the command directly as an object from the payload
bytes. Saves some code.