[src/common] remove sanity.hpp