This patch adds explicit (void) casts to discarded release() calls to suppress -Wunused-result.
This patch fixes *all* warnings are generated as a result of [applying [[nodiscard]] within libc++](https://reviews.llvm.org/D26596).
Similar fixes were applied to Clang in r286796.