[MSan] Make a few interface functions accept 'const void *' instead of 'void*'