[libc][obvious] fix strdup being listed twice

strdup was being included even if malloc wasn't and that was causing
a build failure.

Differential Revision: https://reviews.llvm.org/D112641

GitOrigin-RevId: 98305180828b74e3e765975b9964ca051ea54df2
1 file changed