[PATCH] drm: add a check to verify the size alignment