Improved ore rendering

Originally I wanted to fix #6278 but I can’t reproduce the bug. I set all ore to the lowest density and mining it worked flawlessly.

But I fixed some other problems with ore drawing:
•	The sprite for the highest possible density was never used.
•	Added rounding to the ore density linear interpolation (old: 4.9 => 4.0 new: 4.9 => 5.0)

This method is used from simulation code, which means that you can't use any floating-point calculations here.