Static cast rgba value

Add static_cast to the rgba valuse to cast them to sf::Uint8, so that
compiler warnings can be avoided.