Fix warnings in backends hs profile and gadt