Fix false positive about left-binding const when using void const *

We were not checking for void types.