util: Optimize mesa_hex_to_bytes
This function ends up getting called an awful lot when loading a large Fossilize cache db, so let's replace strtol with something more reasonable.
For a game with 97k shaders, this reduces instance creation time from 203ms to 52ms.