regulator: Fix compile errors by including compiler.h in consumer.h

If the consumer.h file is included before compiler.h the build
will fail with cryptic errors. They come from the __must_check
directive on regulator_get()/etc. Include compiler.h to fix this.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>