max17047: clean up compiler warnings