Refactor and improve emoji detection in reactions
UCHAR_EMOJI_PRESENTATION is replaced with UCHAR_EMOJI, which seems to be more useful for decting emojis. The lambda is also turned into a proper function as there's no apparent reason for it to be a lambda.