[PATCH v4 09/14] Makefile: Use common code for SPI_FLASH deprecation warning