Add check for timersub to opal_lifo and opal_fifo tests

Some platforms do not provide a timersub macro. This commit adds a definition
to both tests when running on one of these platforms.