dm36x: Add libatomthreads.a build target for linking to external applications.