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