This regression was caused by 8f61fdedb9 (Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *).). This resolves #538.
8f61fdedb9