[SeaBIOS] bmp/bootsplash: Added support for 16/24/32bpp in one function