[PATCH 5.8 605/633] fbmem: add margin check to fb_check_caps()