drm: Add Linux kmap functions

These implementations are only suitable for use with systems with
direct memory maps, which means amd64/x86-64 for now.