Changes in granulation scales over the solar cycle seen with SDO/HMI and Hinode/SOT