Refactoring: Move the logic for calling GlobalAlloc and GlobalFree into setclipboarddata.lgo.
GlobalAlloc and GlobalFree are useless outside the context of the clipboard and the SETCLIPBOARDDATA is useless without GlobalAlloc and GlobalFree, so it makes sense to put them into the same sample code.