[PATCH 5.9 725/757] fbmem: add margin check to fb_check_caps()