screenshot-area-selection.c: (x11) Make more of an effort to gain a pointer and keyboard grab.

In certain situations, the area selection grabs can fail - for example, when being called via keyboard shortcut. Attempt each grab up to three times with a slight delay, to allow the grab to be established, before giving up and exiting.

Merge request reports