fix build failure without gtest

review is here: https://rbcommons.com/s/OpenH264/r/256/
This patch fixed the build failure issue without gtest. Now codec_unittest is built only when gtest exists