os: Cast pthread_create's arg parameter.