Support constant values in tweaks.

Two fixes here:
 - Cast points to (void *) before storing in struct to avoid warning.
 - Update _Generic to support const types in addition to regular ones.