[$(subdirs)=db2] (CPPFLAGS): Add macros to provide spinlock