libstdthreads: destroy mutexattr in mtx_init()
PR: 276818
(cherry picked from commit a03f768612ad98a886458197c531a0b92203bf84)