media-libs/mesa: check for CONFIG_CHECKPOINT_RESTORE=y
This lets AMDGPU users know they should enable the kernel config option.
It should be enabled by CONFIG_GENTOO_LINUX_INIT_SYSTEMD, but if e.g.
OpenRC is used, it's possible for the option to be unset, as was in
my case.
Not doing so can cause the following spooky warning:
"amdgpu: os_same_file_description couldn't determine if two DRM fds
reference the same file description. If they do, bad things may happen!"
I haven't experienced any issues with the config option disabled, but
the warning is likely there for a reason.
Closes: https://github.com/gentoo/gentoo/pull/15926
Signed-off-by: Ilya Trukhanov <lahvuun@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>