x86/ucode: add const where appropriate
Sponsored by: Netflix Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D43865