i965/drm: Use Mesa's macros.h instead of duplicating them.