drm: Use max() to make the ioctl alloc size code cleaner