[libcxx] [test] Add a test parameter for disabling memory intensive tests (#68214)