Fix copyf() in set for next version of libreset

The next version uses `void*` instead of `void const*` as
return/argument type.
Merge pull request #150 from matthiasbeyer/fix-for_next_libreset

Fix copyf() in set for next version of libreset