[Posix] Make malloc return Either Error Ptr