hmc5883: fixed build warnings
l3gd20: fixed a build warning