st/pbo: use correct type for images and textures
Not all hardware can treat float, uint and sint samplers and images the same way, so we need to respect the format-types here.
This has the added benefit of making sure sint and uint data doesn't get copied through a float, which might mess with signaling nan encodings.