[PATCH 4.19 30/33] fbmem: add margin check to fb_check_caps()