Fixed malloc warning, now casting to void *.
Fixed NULL check in freerdp_device_collection_find
Merge pull request #1461 from akallabeth/clang_warning_fixes

Fixes clang warnings ```Allocator sizeof operand mismatch```
Merge pull request #1462 from akallabeth/device_collection_find_fix

Fixed NULL check in freerdp_device_collection_find