Fixed small bugs in pilight-{raw,debug,learn}