Strange bug with myGLCD.drawBitmap when called 6 times

As I understand, avr/pgmspace.h is a macro.

It contains macros, among other things. avr/pgmspace.h
Just create a library called farpgmspace and include it where you need it.