move HHVM version constant test to quick tests

This should stop issues like https://github.com/facebook/hhvm/issues/4521
from happening again.

This was suggested by @jwatzman in the same bug report.
It should also be applied to the 3.4 branch too.