Fix cmake test_libaom build with CONFIG_AOM_HIGHBITDEPTH enabled.

- Comment out the sources that require CONFIG_MOTION_VAR.
- Add missing preproc wrap at the sites in test sources that
  require CONFIG_MOTION_VAR.

Change-Id: I703c2bfd829a579793ad55ae713973d327354473
3 files changed