lib/egl: use hex literals instead of `String::to_hex`