Improve debug message
Move GRFv2 header declaration to a common place

GRF file writer functions will also need it.