Pass the environment to constantp in WHERE compile-macro.