Comment out the EEPROM specific block read and block write clauses within ReadWriteMemoryBlock() to be able to fit the bootloader into the 4K bootloader section of the ATmega32U4.