[DISPLAY] Fix potential build fail with BMP loading from memory
In commit 610d7f17 functions to load BMP from memory were introduced. However, they are based on functions present only if CONFIG_CMD_BMP is declared.
This patch adds precompiler check for that part, so that in case CONFIG_CMD_BMP is not declared the there is no build error.