[msan] Allow zero buf pointer in getcwd() interceptor.