[PATCH 2/4] kernel32: Lock heap and validate pointer in LocalHandle.