common/lcd: add protection from null bmp pointer