shared: Convert buxton_direct_get_value to return an int32_t