Fix compilation errors which appear when using latest versions of AVR-GCC and Atmel toolchains (prog_uint32_t, prog_uint8_t deprecated types)