channel: fix channel_find_by_number for maj.min support, fixes #2321