func_channel.c: Add missing locking to some CHANNEL() requests.