musl: add upstream patch for open_[w]memstream